<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="../../day03_jQuery/script/jquery-1.7.2.min.js"></script>
    <script type="text/javascript">
        $(function () {
            //获取div的所有后代input元素
           // console.log($("div input"));
            //获取div的所有input子元素
            console.log($("div>input"));

        });
    </script>
</head>
<body>
<div>
    <form action="">
        <input type="text">
        <input type="text">
        <input type="text">
        <input type="text">
    </form>
    <input type="text">

</div>
</body>
</html>